package DataObjects;

import java.awt.Image;
import java.io.Serializable;

public class Table implements Serializable
{
	int x;
	int y;
	int size;
	int number;
	String type=null;
	
	Image tableToDisplay;
	Image table_1;   //horizontal
	Image table_2;   //vertical
	
	public void setType_horizontal()
	{
		type="horizontal";
	}
	
	
	public void setType_vertical()
	{
		type="vertical";
	}
	
	public void setType(String type) {
		this.type = type;
	}
	
	public String getType(){
		return type;
	}
	
	public void setTableToDisplay_vertical()
	{
		tableToDisplay=table_2;
	}
	
	public void setTableToDisplay_horizontal()
	{
		tableToDisplay=table_1;
	}
	
	
	
	public int getX() {
		return x;
	}
	public void setX(int x) {
		this.x = x;
	}
	public int getY() {
		return y;
	}
	public void setY(int y) {
		this.y = y;
	}
	public int getSize() {
		return size;
	}
	public void setSize(int size) {
		this.size = size;
	}
	public int getNumber() {
		return number;
	}
	public void setNumber(int number) {
		this.number = number;
	}
	public Image getTable() {
		return tableToDisplay;
	}
	public void setTable_1(Image table) {
		this.table_1 = table;
	}
	public void setTable_2(Image table) {
		this.table_2 = table;
	}
	
	
}